.video-container {
  position: relative;
  width: 100%;
  height: 600px;
  background-color: black;
  overflow: hidden;
}

/* 主视频：全屏 */
.main-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* 画中画小窗口 */
.pip-video {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 200px;
  height: 120px;
  object-fit: cover;
  border: 2px solid white;
  border-radius: 8px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s;
}

.pip-video:hover {
  transform: scale(1.05);
}

.controls {
  text-align: center;
  margin-top: 1rem;
}

button {
  margin: 0 1rem;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  background-color: #28a745;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[disabled] {
  background-color: #888;
  cursor: not-allowed;
}
